package com.wufeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName person_info
 */
@TableName(value ="person_info")
@Data
public class PersonInfo implements Serializable {
    /**
     * 个人信息ID
     */
    @TableId(value = "personInfoId", type = IdType.AUTO)
    private Integer personinfoid;

    /**
     * 关联用户ID
     */
    @TableField(value = "userId")
    private Integer userid;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 性别: 0表示女, 1表示男
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 出生日期
     */
    @TableField(value = "birthDate")
    private Date birthdate;

    /**
     * 个人简介
     */
    @TableField(value = "introduction")
    private String introduction;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}